package com.tuo51.childcare.repository;

import com.tuo51.childcare.domain.ptest.PTestStaffExt;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

@Repository
public interface PTestStaffExtRepository extends JpaRepository<PTestStaffExt,String>, JpaSpecificationExecutor<PTestStaffExt> {

    PTestStaffExt findByUid(String uid);

    long countAllByGoatLessThanEqual(Integer goat);



}
